import 'package:bluetooth_protocols_plugin/library.dart';

class CarKeyCmd extends HuariCmdBase {
  @override
  (int, int) get getAuthRandomCode => (0x00, 0x80);

  @override
  (int, int) get verifyAuthRandomCode => (0x01, 0x81);

  @override
  (int, int) get writeProductModel => (0x02, 0x082);

  @override
  (int, int) get getProductModel => (0x03, 0x83);

  @override
  (int, int) get getSn => (0x04, 0x084);

  @override
  (int, int) get writeActiveTime => (0x05, 0x085);

  @override
  (int, int) get lock => (0x06, 0x86);

  @override
  (int, int) get addMasterKey => (0x07, 0x87);

  @override
  (int, int) get deleteMasterKey => (0x08, 0x88);

  @override
  (int, int) get addSubKey => (0x09, 0x89);

  @override
  (int, int) get deleteSubKey => (0x0A, 0x8A);

  @override
  (int, int) get getKeyList => (0x0B, 0x8B);

  @override
  (int, int) get setRideMode => (0x0C, 0x8C);

  @override
  (int, int) get enterNfcCardMode => (0x0D, 0x8D);

  @override
  (int, int) get exitNfcCardMode => (0x0F, 0x8F);

  @override
  (int, int) get deleteNfcCard => (0x10, 0x90);

  @override
  (int, int) get setControllerData => (0x11, 0x91);

  @override
  (int, int) get getControllerData => (0x12, 0x92);

  @override
  (int, int) get enablePeriodicDataSwitch => (0x7E, 0xFE);

  @override
  (int, int) get syncTime => (0x00, 0x00);
}
